package com.wyd.jwpkglxt_ssm.entity;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (Department)实体类
 *
 * @author wyd
 * @since 2021-08-03 11:37:19
 */
@Data
@Accessors(chain = true)
public class Department implements Serializable {
    private static final long serialVersionUID = -14949984127140986L;
    /**
    * 部门表主键id
    */
    private Integer id;
    /**
    * 部门名称
    */
    private String departmentName;
    /**
    * 部门所属区域
    */
    private Integer departmentArea;
    /**
    * 部门描述
    */
    private String description;
    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
    * 修改时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Area area;
}